package com.supreme.studyserver.entity;

import com.supreme.studyserver.interfacepkg.IUser;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
public class User implements IUser {

    private String username;

    private String password;

    private Integer gender;

    private Date birthday;

    private Role role;

    @Override
    public void initUser() {
        System.out.println("<===== initUser");
    }

    @Override
    public void destroyUser() {
        System.out.println("<==== destroyUser");
    }
}
